<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> 
<html>
<head>
<%response.setHeader("Pragma","No-cache"); 
response.setHeader("Cache-Control","no-cache"); 
response.setDateHeader("Expires", 0); 
response.flushBuffer();%> 

<link rel="stylesheet" type="text/css" href="btn_class.css" />
		<link rel="stylesheet" type="text/css"
			href="ext-2.2/resources/css/ext-all.css" />
		<link rel="stylesheet" type="text/css"
			href="ext-2.2/ext-2.2/style.css" />
		<link rel="stylesheet" type="text/css"
			href="ext-2.2/ext-2.2/desktop.css" />
		<link rel="stylesheet" type="text/css"
			href="ext-2.2/ext-2.2/ext-patch.css" />
<script type="text/javascript" src="ext-2.2/adapter/ext/ext-base.js"></script>
		<script type="text/javascript" src="ext-2.2/ext-all.js"></script>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<style type="text/css">
body {
	margin: 0px;
	padding: 0px;
}

</style>
<% String role = (String)session.getAttribute("UisManager");
request.setAttribute("role",role);
%>
<body>
	<div class=" x-panel x-border-panel x-tree" id="west-div" style="width: 190px;left: 5px;">
		<div class="x-panel-header x-unselectable" id="ext-gen18" style="mozuserselect: none; khtmluserselect: none;" unselectable="on">
			<div  id="ext-gen22"></div>
			<span class="x-panel-header-text" id="ext-gen32">功能导航</span>
		</div>
		
		<div class="x-panel-bwrap" id="ext-gen19" style="background:white">
			<div class="x-panel-body" id="ext-gen20" style="width: 190px; height: 900px; overflow: auto;">
				<ul class="x-tree-root-ct x-tree-lines" id="ext-gen26">
					<div class="x-tree-root-node">
					<c:if   test= "${role == 'N' }"> 
						<li class="x-tree-node" id="wbManager" >
							<div class=" x-unselectable  x-tree-node-expanded" unselectable="on" ext:tree-node-id="ynode-34">
								<span class="x-tree-node-indent"/></span>
								<img class="x-tree-ec-icon x-tree-elbow-minus" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
								<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
								<a class="x-tree-node-anchor" >
									<span unselectable="on">运单管理</span>
								</a>
							</div>
							<ul class="x-tree-node-ct">
									<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!queryAdressListAndEenterWaybillList.do?type=fast" target="center">
											<span unselectable="on" >极速原箱转运 </span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
							
							
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!queryAdressListAndEenterWaybillList.do?type=common" target="center">
											<span unselectable="on"  id="enterWaybillNum">到库货件</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!showForestWaybillByUid.do" target="center">
											<span unselectable="on" >到货预报</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!queryAdressListAndEenterWaybillList.do" target="center">
											<span unselectable="on">提交新运单</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!queryCurrentWaybillByUid.do" target="center">
											<span unselectable="on">当前运单</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
									<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!queryHistoryWaybillByUid.do" target="center">
											<span unselectable="on">历史运单</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
							</ul>
						</li>
						</c:if>
						
				<!-- 账号信息 -->		
					<li class="x-tree-node">
							<div class=" x-unselectable  x-tree-node-expanded" unselectable="on" ext:tree-node-id="ynode-34">
								<span class="x-tree-node-indent"/></span>
								<img class="x-tree-ec-icon x-tree-elbow-minus" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
								<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
								<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus">
									<span unselectable="on">账号信息</span>
								</a>
							</div>
							<ul class="x-tree-node-ct">
							
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/personalProfile.jsp" target="center">
											<span unselectable="on">个人资料</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								 
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/list_shdz.jsp" target="center">
											<span unselectable="on">收货地址管理</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/changePassword.jsp" target="center">
											<span unselectable="on">修改密码</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
								<li class="x-tree-node" >
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/create_direct_pay_by_user_jsp_utf8/index.jsp" target="center">
											<span unselectable="on"><u><font color="red">余额充值</font></u></span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
								
								<li class="x-tree-node" >
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/user!showConsumptionHistory.do" target="center">
											<span unselectable="on"><u><font color="red">消费记录</font></u></span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
								
								<li class="x-tree-node" style="display:none">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/integral!getIntegralByUid.do" target="center">
											<span unselectable="on">我的积分</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/user!queryUname.do" target="center">
											<span unselectable="on">会员信息</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								<!-- 
									<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="/user!queryUname.do?flag=b" target="center">
											<span unselectable="on">备用地址</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								 -->
							</ul>
						</li>
						 
						<!-- 运单审批 -->
						<c:if   test= "${role !='N' && role >= '1'}"> 
						<li class="x-tree-node">
							<div class=" x-unselectable  x-tree-node-expanded" unselectable="on" ext:tree-node-id="ynode-34">
								<span class="x-tree-node-indent"/></span>
								<img class="x-tree-ec-icon x-tree-elbow-minus" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
								<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
								<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus">
									<span unselectable="on">运单审批</span>
								</a>
							</div>
							<ul class="x-tree-node-ct">
									<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/fastBoxHandling.jsp" target="center">
											<span unselectable="on" >极速原箱处理</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/enterWaybill.jsp" target="center">
											<span unselectable="on">录入信息</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!showAllwbByStatus.do?status=forecastStatus" target="center">
											<span unselectable="on">(到货预报)运单</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
										<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<!-- <a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="/waybill!showAllwbByStatusWithoutPage.do?status=forecastStatus" target="center"> -->
										 <a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/searchWaybillForecast.jsp" target="center"> 
											<span unselectable="on">(到货预报)查询</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!showAllwbByStatus.do?status=unhandleStatus" target="center">
											<span unselectable="on">(未处理) 运单</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/searchWaybillUnhandle.jsp" target="center">
											<span unselectable="on"><font style="color:red">(未处理) 查询</font></span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!showAllwbByStatus.do?status=unPayforStatus1" target="center">
											<span unselectable="on">(待付款) 运单</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								<c:if   test= "${role !='N'}"> 
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!showAllwbByStatus.do?status=unPayforStatus" target="center">
											<span unselectable="on">(待发货) 运单</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								</c:if>
								
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/waybill!showAllwbByStatus.do?status=payforUnSendStatus" target="center">
											<span unselectable="on">(待转EMS) 运单</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
							</ul>
						</li>
							<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/queryAndStatistics.jsp" target="center">
											<span unselectable="on">查询统计</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
						</c:if>
						<c:if   test= "${role !='N' && role == '1'}"> 
						<li class="x-tree-node"  >
							<div class=" x-unselectable  x-tree-node-expanded" unselectable="on" ext:tree-node-id="ynode-34">
								<span class="x-tree-node-indent"/></span>
								<img class="x-tree-ec-icon x-tree-elbow-minus" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
								<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
								<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus">
									<span unselectable="on">管理员维护</span>
								</a>
							</div>
							<ul class="x-tree-node-ct">
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" >
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/paraConfig!getParaConfig.do" target="center">
											<span unselectable="on">参数配置</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" target="center">
											<span unselectable="on">公告管理</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
							<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/queryAndStatistics.jsp" target="center">
											<span unselectable="on">查询统计</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
							
								<li class="x-tree-node">
									<div class=" x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="ynode-37">
										<span class="x-tree-node-indent">
											<img class="x-tree-elbow-line" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										</span>
										<img class="x-tree-ec-icon x-tree-elbow" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
										<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
										<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" href="<%= request.getContextPath() %>/financeStatistics.jsp" target="center">
											<span unselectable="on">财务统计</span>
										</a>
									</div>
									<ul class="x-tree-node-ct" style="display: none;"/></ul>
								</li>
								
							</ul>
						</li>
						</c:if>
						
						<!-- 退出系统 -->
						<li class="x-tree-node">
							<div class="x-tree-node-leaf x-unselectable " unselectable="on" ext:tree-node-id="logout">
								<span class="x-tree-node-indent"/>
								<img class="x-tree-ec-icon x-tree-elbow-end" src="/ext-2.2/resources/images/default/s.gif" complete="complete"/>
								<img class="x-tree-node-icon" src="/ext-2.2/resources/images/default/s.gif" complete="complete" unselectable="on"/>
								<a tabIndex="1" class="x-tree-node-anchor" hideFocus="hidefocus" style="cursor:pointer;" onclick="loginOut()">
									<span unselectable="on">退出系统</span>
								</a>
								<ul class="x-tree-node-ct" style="display: none;"/>
						</li>
					</div>
				</ul>
			</div>
		</div>
	</div>
	
</body>
	<script>
function loginOut() {
		var flag = confirm("确定要退出本系统?");
		if(flag) parent.location.href = '/user!index.do';
}
function   resetWaybillNum() 
{
	Ext.Ajax.request({ 
                   //请求地址 
                   url: 'waybill!resetWaybillNum.do', 
                   //成功时回调 
                   success: function(response, options) { 
                      //获取响应的json字符串 
                      
                     var responseArray = Ext.util.JSON.decode(response.responseText);    
                          if(responseArray.success==true){ 
                         	document.getElementById("enterWaybillNum").innerHTML = "到库货件("+responseArray.num+")";
                          } 
                	  } 
          	}); 

} 
//function IsManager()
//{
//	var flag = '<%=session.getAttribute("UisManager") %>';
//	var wbManager = document.getElementById("wbManager");
//	var wbApproveLi = document.getElementById("wbApproveLi");
//	var configPara = document.getElementById("configPara");
	
//	if(flag=='Y')
//	{
//		wbApproveLi.style.display = '';
//		configPara.style.display = '';
		//wbManager.style.display = 'none';
//	}else{
//		wbApproveLi.style.display = 'none';
//		configPara.style.display = 'none';
//		wbManager.style.display = '';
//	}
//}	

				
	window.onload = function(){
		var wbManager = document.getElementById("wbManager");
		if(null == wbManager) return;
		resetWaybillNum();
		//IsManager();
	}			
	 
</script>
</html>


